SET QUOTED_IDENTIFIER ON 
GO
SET ANSI_NULLS OFF 
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[GetCustomValueSelectionPages]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
	drop procedure [dbo].[GetCustomValueSelectionPages]
GO

/***************************************************************************
* Name:			GetCustomValueSelectionPages
* Purpose:		Returns the custom value selection pages
***************************************************************************/
CREATE PROCEDURE [dbo].[GetCustomValueSelectionPages] 
AS
BEGIN
	Select Id, [Name], URL
	FROM CustomValueSelectionPages
END
GO

SET QUOTED_IDENTIFIER OFF 
GO
SET ANSI_NULLS ON 
GO